package com.neu.his.entity;

import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import javax.jws.soap.SOAPBinding;
import java.util.List;

@Data
public class Role extends Base {
    private String name;

    @TableField(exist = false)
    private List<Menu> menusList;
    @TableField(exist = false)
    private List<User> userList;

    @Override
    public String toString(){
        return JSON.toJSONString(this);
    }
}
